<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>White list</title>
<link rel="stylesheet" href="/static/css/blueprint/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="/static/css/blueprint/print.css" type="text/css" media="print">
<!--[if lt IE 8]>
	<link rel="stylesheet" href="/static/css/blueprint/ie.css" type="text/css" media="screen, projection">
<![endif]-->
<link rel="stylesheet" href="/static/css/custom.css" type="text/css" media="screen, projection">
</head>
<body style="background-color:#C0DEED;">
  <div class="container">
    <div class="span-24 last" style="height:24px"></div>
    <div class="span-24 last box-round" style="background-color:#fff">
      <div style="padding:24px">
        <h1>White list enabled: ${status}</h1>
        <div>
          <form action="/admin/whitelist" name="wl" method="post">
            <p>
              <select name="enabled">
                <option value="True">Enabled</option>
                <option value="False">Disabled</option>
              </select>
              <input type="submit" value="Update" name="submit" />
            </p>
          </form>
        </div>
        <div>
          <form action="/admin/whitelist" name="wl" method="post">
            <p><input name="username" type="text" maxlength="50" style="width:200px" /> <input type="submit" value="Add" name="submit" /></p>
          </form>
        </div>
        #for $w in $whitelist
          <p>${w.username}</p>
        #end for
      </div>
    </div>
    <div class="span-24 last" style="height:24px"></div>
    <div class="span-24 last" style="text-align:center">A twitter app powered by Python &amp; AppEngine. Copyright&copy;2010. Author: <a href="mailto:askxuefeng@gmail.com">Michael Liao</a></div>
    <div class="span-24 last" style="height:24px"></div>
  </div>
</body>
</html>
